package com.reebake.ideal.message.event;

import com.reebake.ideal.message.entity.MessageDeliveryDTO;
import org.springframework.context.ApplicationEvent;

import lombok.Getter;
import lombok.Setter;

public class MessageDeliveryEvent extends ApplicationEvent {
	
	private static final long serialVersionUID = 1L;
	
	@Getter
	@Setter
	private MessageDeliveryDTO messageDeliveryDTO;

	public MessageDeliveryEvent(Object source) {
		super(source);
	}
	
	public MessageDeliveryEvent(Object source, MessageDeliveryDTO messageDeliveryDTO) {
		super(source);
		this.messageDeliveryDTO = messageDeliveryDTO;
	}

}
